package service.impl;

import service.Button;

/**
 * Mac风格按钮 - 具体产品A2
 */
public class MacButton implements Button {
    private String text;
    
    @Override
    public void render() {
        System.out.println("渲染Mac风格按钮: " + text);
        System.out.println("  - 圆角边框");
        System.out.println("  - 渐变背景");
        System.out.println("  - San Francisco字体");
    }
    
    @Override
    public void onClick() {
        System.out.println("Mac按钮被点击: 平滑动画效果");
    }
    
    @Override
    public void setText(String text) {
        this.text = text;
    }
}



